function fakeAsync(){
  let delay = Math.random() * 1000;

  return new Promise((resolve,reject) => {
    setTimeout(() => {
      console.log(`Async Task use ${delay}ms`);
      resolve(delay);
    },delay);
  });  
}
//console.log('start...');
//(async()=>{
//  await fakeAsync();
//})();

module.exports = fakeAsync;
